<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">
	
<h:head>
	<title>Service-Desk TJRR Incidentes</title>
</h:head>

<h:body style="text-align: center; margin: 0; padding: 0; height: 500px;">
	<div>
		<h:form>
			<p:panel header="Login" style="width: 300px;margin: 250px auto; padding: 0; ">
				<h:panelGrid columns="2" >
					<h:outputLabel value="Usuário: " for="campo-usuario"/>
					<p:inputText value="#{autenticadorBean.usuario}" id="campo-usuario"  style="width: 180px;"/>
					
					<h:outputLabel value="Senha: " for="campo-senha"/>
					<p:password value="#{autenticadorBean.senha}" id="campo-senha" style="width: 180px;"/>
					
					<f:facet name="footer">
						<p:commandButton value="Entrar" action="#{autenticadorBean.autentica}"/>
					</f:facet>
				</h:panelGrid>
				<p:messages></p:messages>
			</p:panel>
		</h:form>
	</div>
</h:body>
</html>